region Matches
fun String.regionMatches(thisOffset: Int, other: String, otherOffset: Int, length: Int, ignoreCase: Boolean = false): Boolean
Content copied to clipboard
Returns true
if the specified range in this string is equal to the specified range in another string.
Parameters
this Offset
the start offset in this string of the substring to compare.
other
the string against a substring of which the comparison is performed.
other Offset
the start offset in the other string of the substring to compare.
length
the length of the substring to compare.